/**
 * Copyright (C), 2015-2019, bogewang有限公司
 * FileName: WeiXinServiceImpl
 * Author:   bogewang
 * Date:     2019/9/7 18:18
 * Description: 微信接口实现类
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.bogewang.weixin.service.impl;

import com.bogewang.core.base.BaseApiService;
import com.bogewang.core.base.BaseResponse;
import com.bogewang.weixin.entity.WeixinDTO;
import com.bogewang.weixin.service.WeiXinService;
import org.springframework.beans.factory.annotation.Value;

/**
 * 〈微信接口实现类〉
 *
 * @author bogewang
 * @create 2019/9/7
 * @since 1.0.0
 */
public class WeiXinServiceImpl extends BaseApiService<WeixinDTO> implements WeiXinService {

    /**
     * 测试实时刷新;
     */
    @Value("${bogewang.weixin.name}")
    private String name;

    @Override
    public BaseResponse<WeixinDTO> getApp() {
        return setResultSuccess(new WeixinDTO("20190913", name));
    }
}